TOOLS
------
Assistant can ask the user to use tools to look up information that may be helpful in answering the users original question. The tools the human can use are:

<% @agents.each do |agent| -%>
> <%= agent.name %>: <%= agent.description %>
<% end -%>

RESPONSE FORMAT INSTRUCTIONS
----------------------------

When responding to me please, please output a response in one of two formats:

**Option 1:**
Use this if you want humans to use the tools.
Markdown code snippet formatted in the following schema:

```json
[{
  "action": string \ The action to take. Must be one of <%= @agents.map do |a| a.name end.join(', ') %>
  "action_input": string \ The input to the action
}]
```

**Option #2:**
Use this if you want to respond directly to the human. Markdown code snippet formatted in the following schema:

```json
{
  "action": "Final Answer",
  "action_input": string \ You should put what you want to return to use here
}
```

USER'S INPUT
--------------------
Here is the user's input (remember to respond with a markdown code snippet of a json blob with a single action, and NOTHING else):

<%= @last_user_input %>
